An Algorithm for the Solution of Tree Equations

نویسندگان

  • Sabrina Mantaci
  • Daniele Micciancio
چکیده

We consider the problem of solving equations over k-ary trees. Here an equation is a pair of labeled-ary trees, where is a function associating an arity to each label. A solution to an equation is a morphism from-ary trees to k-ary trees that maps the left and right hand side of the equation to the same k-ary tree. This problem is a generalization of the word uniication problem posed by A. Markov in the fties, which corresponds to the case k=1, (in this case also the arity function must be identically equal to 1, and equations are pairs of words). The word uniication problem was solved in two steps. First in 1976 Makanin proved the decidability of the existence of a solution to a word equation, and more recently in 1990 Jaaar gave an algorithm that nds the set of all principal solutions to a word equation when this set is nite. In this paper we solve the-ary tree equation problem for all other k > 1. We describe an eecient uniication algorithm that on input an-ary tree equation, computes a most general (-ary) solution to the equation if the equation is solvable and reports failure otherwise. This also proves that any satissable-ary tree equation has a most general solution. All k-ary solutions to the equation can be easily obtained from the-ary solution output by our algorithm.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

GGMRES: A GMRES--type algorithm for solving singular linear equations with index one

In this paper, an algorithm based on the Drazin generalized conjugate residual (DGMRES) algorithm is proposed for computing the group-inverse solution of singular linear equations with index one. Numerical experiments show that the resulting group-inverse solution is reasonably accurate and its computation time is significantly less than that of group-inverse solution obtained by the DGMRES alg...

متن کامل

Development of an Upwind Algorithm at Subsonic Regions in the Solution of PNS Equations

In this paper an upwind algorithm based on Roe’s scheme is presented for solution of PNS equations. Non iterative-implicit method using finite volume technique is used. The main advantage of this approach, in comparison with similar upwind methods, is reduction of oscillations around sonic line. This advantage causes the present method to be able to analyze supersonic flows with free stream Mac...

متن کامل

A Metaheuristic Algorithm for the Minimum Routing Cost Spanning Tree Problem

The routing cost of a spanning tree in a weighted and connected graph is defined as the total length of paths between all pairs of vertices. The objective of the minimum routing cost spanning tree problem is to find a spanning tree such that its routing cost is minimum. This is an NP-Hard problem that we present a GRASP with path-relinking metaheuristic algorithm for it. GRASP is a multi-start ...

متن کامل

An accelerated gradient based iterative algorithm for solving systems of coupled generalized Sylvester-transpose matrix equations

‎In this paper‎, ‎an accelerated gradient based iterative algorithm for solving systems of coupled generalized Sylvester-transpose matrix equations is proposed‎. ‎The convergence analysis of the algorithm is investigated‎. ‎We show that the proposed algorithm converges to the exact solution for any initial value under certain assumptions‎. ‎Finally‎, ‎some numerical examples are given to demons...

متن کامل

The method of radial basis functions for the solution of nonlinear Fredholm integral equations system.

In this paper, An effective and simple numerical method is proposed for solving systems of integral equations using radial basis functions (RBFs). We present an algorithm based on interpolation by radial basis functions including multiquadratics (MQs), using Legendre-Gauss-Lobatto nodes and weights. Also a theorem is proved for convergence of the algorithm. Some numerical examples are presented...

متن کامل

Development of an Upwind Algorithm at Subsonic Regions in the Solution of PNS Equations

In this paper an upwind algorithm based on Roe’s scheme is presented for solution of PNS equations. Non iterative-implicit method using finite volume technique is used. The main advantage of this approach, in comparison with similar upwind methods, is reduction of oscillations around sonic line. This advantage causes the present method to be able to analyze supersonic flows with free stream Mac...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1997